package com.databaseManager;

/**
 * @author zddzero
 * @version 1.0
 */
public class User {
    private String Uid;//用户账号，使用身份证号，长度为18位的字符串
    private String Password;//用户密码，长度为6位
    private String Name;//用户姓名，长度不超过31位
    private int Age;//用户年龄
    private String Sex;//用户性别，通常用‘男’或‘女’表示

    /**
     * User构造函数
     * @param uid 用户账号，使用身份证号，长度为18位的字符串
     */
    public User(String uid) {
        Uid = uid;
    }

    public String getUid() {
        return Uid;
    }

    public void setUid(String uid) {
        Uid = uid;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public int getAge() {
        return Age;
    }

    public void setAge(int age) {
        Age = age;
    }

    public String getSex() {
        return Sex;
    }

    public void setSex(String sex) {
        Sex = sex;
    }

    public String getPassword() {
        return Password;
    }

    public void setPassword(String password) {
        Password = password;
    }
}
